package com.gitee.secretopen.sso.db.pojo;

import cn.chenc.framework.mybatisplus.model.BaseConditionVO;
import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * @Author Xjt
 * @Date 2021/2/26 18:53
 * @Version 1.0
 */
/**
    * 应用表
    */
@Data
@TableName(value = "site")
public class Site extends BaseConditionVO implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 应用id
     */
    @TableField(value = "site_id")
    private String siteId;

    /**
     * 应用名称
     */
    @TableField(value = "site_name")
    private String siteName;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private LocalDateTime createTime;

    /**
     * 创建人
     */
    @TableField(value = "create_by")
    private String createBy;

    /**
     * 修改时间
     */
    @TableField(value = "update_time")
    private LocalDateTime updateTime;

    /**
     * 修改人
     */
    @TableField(value = "update_by")
    private String updateBy;

    /**
     * 删除(0：正常，1：删除)
     */
    @TableField(value = "is_delete")
    @TableLogic
    private Integer isDelete;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_SITE_ID = "site_id";

    public static final String COL_SITE_NAME = "site_name";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_CREATE_BY = "create_by";

    public static final String COL_UPDATE_TIME = "update_time";

    public static final String COL_UPDATE_BY = "update_by";

    public static final String COL_IS_DELETE = "is_delete";
}